package com.huixue.cn.ztej.persistence;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.huixue.cn.ztej.utils.annotation.Table;

/**
 * Annotate a class for mapping a class to database table
 * 
 * @author muzhanqiang
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Domain {

	/**
	 * Bean name
	 * @return
	 */
	public Class<?> value();
}
